home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2001 May / SGI IRIX Base Documentation 2001 May.iso / usr / share / catman / p_man / cat3 / X11 / XcmsCreateCCC.z / XcmsCreateCCC
Encoding:
Text File  |  1998-10-30  |  4.9 KB  |  133 lines

  1.  
  2.  
  3.  
  4.      XXXXccccmmmmssssCCCCrrrreeeeaaaatttteeeeCCCCCCCCCCCC((((3333XXXX11111111))))XXXX VVVVeeeerrrrssssiiiioooonnnn 11111111 ((((RRRReeeelllleeeeaaaasssseeee 6666....3333)))) XXXXccccmmmmssssCCCCrrrreeeeaaaatttteeeeCCCCCCCCCCCC((((3333XXXX11111111))))
  5.  
  6.  
  7.  
  8.      NNNNAAAAMMMMEEEE
  9.           XcmsCreateCCC, XcmsFreeCCC - creating and destroying CCCs
  10.  
  11.      SSSSYYYYNNNNTTTTAAAAXXXX
  12.           XcmsCCC XcmsCreateCCC(_d_i_s_p_l_a_y, _s_c_r_e_e_n__n_u_m_b_e_r, _v_i_s_u_a_l,
  13.           _c_l_i_e_n_t__w_h_i_t_e__p_o_i_n_t, _c_o_m_p_r_e_s_s_i_o_n__p_r_o_c,
  14.                               _c_o_m_p_r_e_s_s_i_o_n__c_l_i_e_n_t__d_a_t_a,
  15.           _w_h_i_t_e__a_d_j_u_s_t__p_r_o_c, _w_h_i_t_e__a_d_j_u_s_t__c_l_i_e_n_t__d_a_t_a)
  16.                 Display *_d_i_s_p_l_a_y;
  17.                 int _s_c_r_e_e_n__n_u_m_b_e_r;
  18.                 Visual *_v_i_s_u_a_l;
  19.                 XcmsColor *_c_l_i_e_n_t__w_h_i_t_e__p_o_i_n_t;
  20.                 XcmsCompressionProc _c_o_m_p_r_e_s_s_i_o_n__p_r_o_c;
  21.                 XPointer _c_o_m_p_r_e_s_s_i_o_n__c_l_i_e_n_t__d_a_t_a;
  22.                 XcmsWhiteAdjustProc _w_h_i_t_e__a_d_j_u_s_t__p_r_o_c;
  23.                 XPointer _w_h_i_t_e__a_d_j_u_s_t__c_l_i_e_n_t__d_a_t_a;
  24.  
  25.           void XcmsFreeCCC(_c_c_c)
  26.                 XcmsCCC _c_c_c;
  27.  
  28.      AAAARRRRGGGGUUUUMMMMEEEENNNNTTTTSSSS
  29.           _d_i_s_p_l_a_y   Specifies the connection to the X server.
  30.  
  31.           _c_c_c       Specifies the CCC.
  32.  
  33.           _c_l_i_e_n_t__w_h_i_t_e__p_o_i_n_t
  34.                     Specifies the Client White Point.  If NULL is
  35.                     specified, the Client White Point is to be assumed
  36.                     to be the same as the Screen White Point.  Note
  37.                     that the pixel member is ignored.
  38.  
  39.           _c_o_m_p_r_e_s_s_i_o_n__c_l_i_e_n_t__d_a_t_a
  40.                     Specifies client data for use by the gamut
  41.                     compression procedure or NULL.
  42.  
  43.           _c_o_m_p_r_e_s_s_i_o_n__p_r_o_c
  44.                     Specifies the gamut compression procedure that is
  45.                     to be applied when a color lies outside the
  46.                     screen's color gamut.  If NULL is specified and a
  47.                     function using this CCC must convert a color
  48.                     specification to a device-dependent format and
  49.                     encounters a color that lies outside the screen's
  50.                     color gamut, that function will return
  51.                     _X_c_m_s_F_a_i_l_u_r_e.
  52.  
  53.           _s_c_r_e_e_n__n_u_m_b_e_r
  54.                     Specifies the appropriate screen number on the
  55.                     host server.
  56.  
  57.           _v_i_s_u_a_l    Specifies the visual type.
  58.  
  59.           _w_h_i_t_e__a_d_j_u_s_t__c_l_i_e_n_t__d_a_t_a
  60.  
  61.  
  62.  
  63.      Page 1                                          (printed 4/30/98)
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70.      XXXXccccmmmmssssCCCCrrrreeeeaaaatttteeeeCCCCCCCCCCCC((((3333XXXX11111111))))XXXX VVVVeeeerrrrssssiiiioooonnnn 11111111 ((((RRRReeeelllleeeeaaaasssseeee 6666....3333)))) XXXXccccmmmmssssCCCCrrrreeeeaaaatttteeeeCCCCCCCCCCCC((((3333XXXX11111111))))
  71.  
  72.  
  73.  
  74.                     Specifies client data for use with the white point
  75.                     adjustment procedure or NULL.
  76.  
  77.           _w_h_i_t_e__a_d_j_u_s_t__p_r_o_c
  78.                     Specifies the white adjustment procedure that is
  79.                     to be applied when the Client White Point differs
  80.                     from the Screen White Point.  NULL indicates that
  81.                     no white point adjustment is desired.
  82.  
  83.      DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  84.           The _X_c_m_s_C_r_e_a_t_e_C_C_C function creates a CCC for the specified
  85.           display, screen, and visual.
  86.  
  87.           The _X_c_m_s_F_r_e_e_C_C_C function frees the memory used for the
  88.           specified CCC.  Note that default CCCs and those currently
  89.           associated with colormaps are ignored.
  90.  
  91.      SSSSEEEEEEEE AAAALLLLSSSSOOOO
  92.           DisplayOfCCC(3X11), XcmsCCCOfColormap(3X11),
  93.           XcmsConvertColors(3X11), XcmsDefaultCCC(3X11),
  94.           XcmsSetWhitePoint(3X11)
  95.           _X_l_i_b - _C _L_a_n_g_u_a_g_e _X _I_n_t_e_r_f_a_c_e
  96.  
  97.  
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.      Page 2                                          (printed 4/30/98)
  130.  
  131.  
  132.  
  133.